package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
<<<<<<< HEAD
 * @author 曹畅
 * @since 2019-11-20
=======
 * @author wyk
 * @since 2019-11-15
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsLineInfo extends Model<PsLineInfo> {

    private static final long serialVersionUID=1L;

<<<<<<< HEAD
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("lineId")
    private Integer lineId;

    @TableField("lineLength")
    private Integer lineLength;

    @TableField("backLength")
    private Integer backLength;

    @TableField("productDate")
    private LocalDateTime productDate;

    @TableField("voltageLevel")
    private Integer voltageLevel;

    @TableField("startPole")
    private Integer startPole;

    @TableField("endPole")
    private Integer endPole;

    @TableField("towerBaseNum")
    private Integer towerBaseNum;

    @TableField("maintenanceCompany")
    private String maintenanceCompany;

    @TableField("runningStatus")
    private Integer runningStatus;

    @TableField("runningStatusName")
    private String runningStatusName;

    private String common;

    @TableField("creationTime")
    private LocalDateTime creationTime;

    @TableField("createdBy")
    private String createdBy;

    @TableField("lastUpdateTime")
    private LocalDateTime lastUpdateTime;

    @TableField("isStart")
    private Integer isStart;
=======
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 线路编号
     */
    @TableField("LINECODE")
    private String linecode;

    /**
     * 线路名称
     */
    @TableField("LINENAME")
    private String linename;

    /**
     * 线路长度
     */
    @TableField("LINELENGTH")
    private Double linelength;

    /**
     * 回路长度
     */
    @TableField("BACKLENGTH")
    private Double backlength;

    /**
     * 投运时间
     */
    @TableField("PRODUCTDATE")
    private LocalDate productdate;

    /**
     * 电压等级
     */
    @TableField("VOLTAGELEVEL")
    private String voltagelevel;

    /**
     * 起始杆号ID
     */
    @TableField("STARTPOLEID")
    private Integer startpoleid;

    /**
     * 终止杆号ID
     */
    @TableField("ENDPOLEID")
    private Integer endpoleid;

    /**
     * 塔基数
     */
    @TableField("TOWERBASENUM")
    private Long towerbasenum;

    /**
     * 维修单位
     */
    @TableField("MAINTENANCECOMPANY")
    private String maintenancecompany;

    /**
     * 运行状态id
     */
    @TableField("RUNNINGSTATUS")
    private Integer runningstatus;

    /**
     * 运行状态name
     */
    @TableField("RUNNINGSTATUSNAME")
    private String runningstatusname;

    /**
     * 备注
     */
    @TableField("COMMON")
    private String common;

    /**
     * 是否启用（1、启用0、不启用）
     */
    @TableField("ISSTART")
    private Integer isstart;

    /**
     * 创建时间
     */
    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    /**
     * 创建者
     */
    @TableField("CREATEDBY")
    private String createdby;

    /**
     * 最后更新时间
     */
    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
